<template>
	<iframe v-if="$route && $route.url" ref="iframe" :src="url" class="iframe" />
</template>

<script>
export default {
	props: {
		url: {
			type: String,
			default: ""
		}
	}
};
</script>

<style >
.iframe {
	width: 100%;
	height: 100%;
	border: 0;
	overflow: hidden;
	box-sizing: border-box;
}
</style>